package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.pojo.Auth;

import java.util.List;
import java.util.Map;

/**
 * @author shkstart
 * @create 2020-03-03 16:23
 */
public interface AuthService {


    //查询全部权限数据
    public List<Auth> getAllAuth();

    //根据角色查询权限id
    public List<Integer> getAssignedAuthIdList(Integer roleId);


    //分配权限
    public void updateRelationShipBetweenRoleAndAuth(Map<String, List<Integer>> assignDataMap);

}
